Fix issue where grand totals could be longer than the longest individual total.