both delete forms use the same ID for the hidden form element:
You would have to make that unique by renaming it in one of the forms and then updating the references to it in the script where applicable.
1) In the server behavior
2) in the script when the delete button is pressed
3) in the hidden form element itself