Ensure migration puts last tx id into new counts store
Merge pull request #3293 from boggle/2.2-log-migration-fixes

[2.2] Ensure migration puts last tx id into new counts store