Fixed bug with EMongoClient