Fix invalid condition.