Allow methods that return arrays to work as filter predicates