Fixed a bug in a switch that had case with no break