Histogram: Handle empty histograms more gracefully