To correctly calculate grandTotals (for 4.3)

Same as merged in 4.2 branch here: https://github.com/atk4/atk4/pull/562.

See more description in https://github.com/atk4/atk4/pull/562 if needed.