improve performance of SelectorMatcher helper, cleanup code
remove optional selector argument from the child method