What is the result you are getting on the current page? Looking at the code it seems that you may have too many repeat selections applied to the page. What were your steps for implementing? If you are adding this form info into a repeat region and then adding in the repeat selection this could be a part of the problem. You should be either just displaying the results on this page with the regular repeat region, or displaying the results with your repeat selection inside of the form, but not both.
I'm glad you got the other page working but when I do the same thing there is no extra modification that is required to make it work properly. So long as I select the correct portion of the form with the elements in them the repeat selection works for the delete every time.