The "Environmental Shield" that is supposed to be available from surveying anomalies does not seem to be appearing in the list of available upgrades. The first screen snapshot shows that it can be chosen, the second screen snapshot shows that it was successfully recovered, but the third screen snapshot shows that, when a ship was next able to upgrade, the Environmental Shield was not available.
Please check this code to make sure it is working correctly.


