models.py: Histograms: fix for empty lists