fix for $in/$nin with ObjectIds