Bug fix in MongoException.