Add some braces around an if guard