Fixed bug where heatmap filtering would rely on array equality