Fixed redirect after deleting a part from its own page.