Add curly brackets around ifs.