fixing upper bound for timeframe filtered