I've added the upgrade to the robo bay's research ability, added the button to research it and it works perfectly in game.
However the button to research doesn't disappear after you've researched. In fact you can research it multiple times in a queue. I don't understand why as the requirement node is set (increasedrange, Queuedorbetter).
I've linked an example of the change I've made as a mod file here: http://www.filedropper.com/upgradeexample
The name of the upgrade is simply "IncreasedRange".
Can anyone point to what I'm missing? Thanks.