Bugfix plotroot: histograms added to the legend correctly