fix maxSequenceNr when journal is empty

head internally calls next, which barfs on an empty iterator