nodetype check for matchesSelectorMaybeClipped method