Delete query include CSS selector special chars

Web UI can create query that name include CSS selector special chars (like space, percent, etc...), but cannot delete it caused CSS selector syntax error like this:

```
Uncaught Error: Syntax error, unrecognized expression: #removeQuery100% jquery.js:1471
Sizzle.error jquery.js:1471
tokenize jquery.js:2085
select jquery.js:2473
Sizzle jquery.js:880
jQuery.fn.extend.find jquery.js:2684
jQuery.fn.init jquery.js:2801
jQuery jquery.js:75
(anonymous function) bootstrap.min.js:6
jQuery.event.dispatch jquery.js:4624
elemData.handle
```

"Query name cannot include CSS selector special chars" is norikra's specification?
If this is not specification, I want to fix this.