Fix filter condition.