Make the centroid filter work with boolean fields