Fix trac 444

Make sure we query for '*' whenever we've moved all the way up the tree.
Merge pull request #783 from cyclops1982/444

Bugfix for issue 444 - we can now have wildcards in the root zone again. Thanks cyclops.