Improve handling of escape sequence in selectors (fixes #178)