checkNoDetections function

Check if there are detections matching the target tags.