add min/max lag to filter