Properly clamp range in Truncate.
Properly clamp range in Truncate.

Truncate should probably be dropped and separate Forget/Rollback
functions written. There isn't much logic shared between the two
behaviours.

barrucadu/logdb,barrucadu/logdb