Minor improvements to live logging sync algorithm.