Handle another if-else scenario with braces

Fixes #311