fix thinko in truncate code: idx->mapped is just the slots