Simple calculation fix for percentages in tables