Bug in truncate_middle
Ups version