Fixing typo in a condition.