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

Closes #10428
Pseudo code:

```
For arrayItem in array:
  if Type(arrayItem) is Primitive:
    if Type(expression) is Object and HasProperty(expression, "$"):
      return deepCompare(arrayItem, expression.$, comparator, false);
  return deepCompare(arrayItem, expression, comparator, matchAnyProperty);
```