Fixing an issue where using 'not' or '!' criteria causes: [MongoError: invalid regular expression operator] name: 'MongoError'