On find, cast ID property of query if it uses a MongoDB operator (such
as $in)