Fixed if statements.