Fix MongoDbEventStore initialization