fix a case where a comparison entered the enext member of the switch.
This was introduced to get rid of eclipse warnings :(