OK to be honest I don't quite know what was going on, but I was able to fix it by removing the form action from the forms on the page. That causes the action to use the current page and included the url parameters. The issue wasn't with the redirect, it was the form action that was removing the url parameters before the delete took place.