public function index(ClientSurvey $client_survey, GetApplicantSurveys $request): View 	{ 		$show_not_completed = $request->boolean('show_not_completed'); 		$show_only_conflicting = $request->boolean('show_only_conflicting'); 		$answer_combination = $request->answer_combination;  		$applicants_exist = $client_survey->applicants() 		->when(!$show_not_completed, function ($query) { 			$query->final(); 		}) 		->when($show_not_completed, function ($query) { 			$query->hasNotCompletedSurveyOrIsDraft(); 		}) 		->when($answer_combination, function ($query) use ($answer_combination) { 			$query->where('answer_combination', $answer_combination); 		}) 		->when($show_only_conflicting, function ($query) { 			$query->where('has_conflicting_answers', true); 		}) 		->exists();  		return view('applicant-surveys.list', compact('applicants_exist', 'client_survey', 'show_not_completed', 'answer_combination', 'show_only_conflicting')); 	}