Code was broke

Changed the format of one of the if statements. Testing again.