Fix semantics of log.entriesAfter
TestLenientCommit (thanks, ongardie)