Don't remove braces if it contains a switch statement and other stuff.

Fixes SF#549