Tree Based Analyzer Fixed

Changes in the Tree Analyzer to match the results from Histogram Based analyzer.