refinements to handling of trees; don't show links which are inside a <forest>