Improves selector cleanup.

* Removes unnecessary regexp.
* Does cleanup and removal of non-understandable selectors in one pass.