Wrap single line if-statement in curly braces