Fix wrong "if" statement.