#552 redirect to previous path after delete flags