fixed issue for broken redirection to template after commment deletion