Fixed bad submission to heatmap endpoint