Fix empty histograms.