When comparing indexes, take their truncation into account