Fix SelectorContainsWords class per issue #146