Thanks for the response, I have attached the schema as requested and also the main form.
To clarify, here is the behaviour I am seeing:
The user enters a workItemId (say 1234) in the workItemId textbox in the first "outer" repeating section. The user then selects a number of testers from the employeeList drop down (say 5 testers are chosen) and clicks Add Testers. This causes 5 "inner" repeating sections (green rectangles) to be generated inside the "outer" repeating group (red rectangle). Also, the "Tester" textbox in each generated section contains a name the user selected. This works fine for the very first workItemId entered. That is, the correct number of "inner" repeating sections are generated (i.e. one for each name the user chose from the drop down list) and the respective "Tester" textbox contains the name of a tester.
However, when the user clicks to add a subsequent "outer" repeating section (red rectangle) for another workItemId, (say 5678), and the user clicks Add Testers, all the names (but one) are added to the first "outer" repeating section, which is associated with workItemId 1234.
I would like the 5 testers' names to show up in the "outer" section (red rectangle) for workItemId 5678, just as they did for workItemId 1234.
I hope my description and screenshots have helped to better explain the problem. Thank you for your help.