Missing breaks added to the switch statement