Fixed typo in condition.