The “received by address” groupings that we group by right now are based on walking back any outputs we consider change by their first input. So two outputs to the same change address (which I suppose we dont support) could end up in different trees/address groupings. Further, the tree mode seems to imply that it displays groups ala listaddressgroupings, which it clearly does not, instead it appears to pull its “received by address” labels from something more akin to our accounts crap.
It should probaboy, instead, consider change outputs as their own category, and we should also likely have a listaddressgroupings mode, given this seems to have been the whole point of the feature, and it is how the feature is described to users.