I think this is going to merge the two sets of checkboxes for the purposes of select none/all. Could make it work as desired by having another attribute that is used to group them.