Fix redirection after deleting resource item