PHP-1245: Stop using MONGO_METHOD to run doQuery in MongoCursor::hasNext.