FIX: PidDetector crashes when no pids with YAG records were found