Fixed a bug with redirect after a submission is deleted