improve time range and resultsExhausted checks