New update breaks custom Theme

I am running v26.5.4 and had a custom variable that returned a deposit amount and indicated this in the table under the total in the total table. Before upgrading, it returned the calculated variable correctly, now it returns ‘0’ .

The code was {% assign DEP = table.totals[“Total”] | times:0.80 %} to calculate 80% etc.

What has changed?