Fixes problem with white cells in heatmap / missing values in analysis outputfile.