The logic has changed here. Before, if the variable was 0.0, this evaluated False. It now evaluates True. Same for 1.0.

Similarly, the logic has changed for the other changes in this file. Are they tested?