Added missing break statements.

Thanks to Andrey Karpov for the heads-up.