MongoRepositoryBase fix