fix maxSequenceNr when journal is empty