Rectified the MongoClient class instead of MongoDB