Fix bogus deprecation message for Diet script/style tags with no child nodes.