Just trying to keep the cache size down. Empirically found that caching non leaf trees makes for the better perf improvement especially when using the datastore and hence traversing the trees repeteadly, but leaf trees are just too heavy to hold many of them. Yet this is nothing new, it's been like this for a long time now.