fixed error in building tree node with plots for standard metrics
Merge pull request #510 from dlatnikov/JFG_688_incorrect_plot_tree_when_standard_metrics_are_absent

fixed error in building tree node with plots for standard metrics