Added a break statement after switch cases

This allows code execution to break out of the switch statement if one
case has already been executed.