Delete link redirects to view page regardless the result