Fix of an issue with syncing with deleted logs