support criteria (not in) on id field, convert them all to ObjectId.
`where={ id: { '!': ['51e866e48737f72b32ae4fbc', '51e866e48737f72b32ae4fbc'] } }` This should work now.
Also add `else` to avoid unnecessary check.
Merge branch 'criteria-on-id'