Add braces around if code.