Fix getting log entries in mongo VersionRepository