Fix a incorrect condition.