Fixed variable references in new SUMMA.