Add curly braces to if statement.