addTotalMCHTreatment() has an error in foreach loop