Initial version of function to strip checkboxes from XML where checkbox belongs to a group