Fix a condition bug.