cachedb_mongodb: handle _id based queries