fix if condition

2 jobs for temporal-agg
in 10 minutes and 20 seconds, using 0 compute credits, and was queued for 3 seconds