bugfix for dodgy trees which contain the same leafname more than once - so that all...