Fix handling no detections