Check for actual end of trace
Otherwise code would search for data for the entire time span, although only a fraction might be available in current trace.