Fixed a missing break in a switch statement