#34: fixing MongoClient compatibility