If duration_threshold is huge then yield single timeframe.  Fixes bug
with plotting.