Fix incorrect condition.