fix(filterFilter): let expression object `{$: '...'}` also match primitive items

Closes #10428
nit: give this its own `var`