Timestamp limit fix for chained queries