fix maxSequenceNr when journal is empty
unit test maxSequenceNr with empty journal
Merge pull request #1 from jbellenger

Fixes issue #1