Cast object ids inside of $not queries
Cast object ids inside of $or and $and queries
Cast oids inside of $nor queries