Assert last saved sequenced equals the sequence from the last pulled doc
Merge pull request #379 from ejms/master

Assert last saved sequenced equals the sequence from the last pulled doc