validation for filter operators