feat(filterFilter): compare object with own `toString` to primitive

Closes #10464