fixed the combining loop to check for checkboxes of secondary/tertiary items.