CAS-1296: Refactor the default filtering policy into a local method.