Fixed issue #07288: JavaScript Error in Survey Security Permissions