Don't match against text nodes that have script parents.