Totals not correct

In a nested grid why don’t to the totals add up correctly