Search for text nodes on DocumentFragments without root tags

Hi @jch 

I came up with a second solution for fixing #133. It simply tries a second search for text nodes, if the original search doesn't find any node. Since the second search is only invoked, if the first one doesn't find any node, performance should not change much.