Fix MongoDB event store