Fix bug in daily rollups.