Use where filter with collections

Similar to #2328, the where filter doesn't work with collections because `#[]` doesn't exist for `StaticFile`. This fixes it using `item_property` based off of @penibelst's fix in #2345.