Reorder the stats function. There is no proper value in the datamean for
the filtered means at the top edge of the filter