bugfix: typeahead on third and more level of XML tree, fixes #6