Added missing condition.