Fix broken children check

Previous expression always returned false (comparing array with 0) and broke any sitemap with a recursive link selector
Merge pull request #59 from WillHirsch/patch-1

Fix broken children check