I realized that I should be unioning by node rank, not tree height. So I culled the use of TreeHeight everywhere. Also changed Rank to Depth to more closely match 'the documentation' aka most texts I've looked at. Test 04 and 05 keep revealing bad behavior.