Refactor filtering to be able to keep context while filtering: this is not absolutely required at this stage but will help implement the $expr operator.
Refactor filtering to be able to keep context while filtering: this is not absolutely required at this stage but will help implement the $expr operator.

vmalloc/mongomock