support for ObjectId() in the search