Fixing a bug that meant you had to have totals defined for