Fix some issues with not terminated case statements.