Fix to the statistics page

- heatmap now fed the correct data