don't do a lookup if an IN query is used with an empty array
don't try and cast mongo id's