public function handleApplicantDeletion(ClientSurvey $client_survey, array $emails, int $current_offline_count, int $offline_applicants_count, int $current_online_count, int $online_applicants_count): void 	{ 		$current_online_count -= $client_survey->applicants()->fillingOnlineSurvey()->whereNotNull('email')->whereNotIn('email', $emails)->count(); 		$client_survey->applicants()->fillingOnlineSurvey()->whereNotNull('email')->whereNotIn('email', $emails)->delete();  		if ($current_online_count > $online_applicants_count) { // If survey has more online applicants than we need, delete the extras 			$client_survey->applicants()->fillingOnlineSurvey()->whereNull('email')->limit($current_online_count - $online_applicants_count)->delete(); 		}  		if ($current_offline_count > $offline_applicants_count) { // If survey has more offline applicants than we need, delete the extras 			$client_survey->applicants()->fillingOfflineSurvey()->whereNull('email')->latest()->limit($current_offline_count - $offline_applicants_count)->delete(); 		} 	}