Fix bug with applying validation rule after filter