fix regression on support for multiple featuretypes on the same tree