Merge "abstract apply_temporal_filter"