Fix Heatmap to work with lossless dates