db.coll.drop();
db.coll.insert({});
db.coll.find({$and: [{x: 1}, {$expr: { $anyElementTrue: undefined }}]});
This is only an issue in 3.5/3.6 and not in 3.4 or earlier.