No Selected Special Module - No Item Reward Shown in the Store!

Bug report:

 

I did not start any assignment for SpecModule bundle in the Store. However, I was still presented with the Buy option, which then showed me, that I would not get any items, which makes sense.

What is illogical, is, that I would get even Buy option shown. It should not be presented to me or it should be unavailable.

 

Screenshots: (Arthur Cage - daily missions)

16bdlqt.png

Store (Yeah, buy pieces of special module that don’t exist. 3 empty pieces for 320 or 1440 GS.)

k177lh.png

 

Logs:

[2017.04.27 14.25.55.zip](< base_url >/applications/core/interface/file/attachment.php?id=14117)

 

How to fix this bug?

Only show the mission and the Buy/Store window, if I selected or enabled the task, otherwise it should not be displayed.