Fixed if-curly-brace style mistakes.