Handle filters with an arity of 1 or 2