Check that customFilter exists, or default it