Fix bad if statement.