[PM/AS] Fix the redirect when deleting resource.