Improved processing of flow stats.