Make getTraceIdsByAnnotation respect timestamps