updating mappingstats extraction to work with new filtering procedure