Fix issue #9814, add validations for NamespacedFilterPolicies
