Fixed issue #9386: XSS issue related to survey deletion