Fix another bug in truncate

Joys