Fix indentation; add braces around single-line if.