public function cleanAnswers(ClientSurvey $ppi_survey, ?ClientSurvey $brand_awareness_survey, Request $request): Collection 	{ 		$allowed_ppi_questions_id_array = $this->getAllowedPpiQuestionIds($ppi_survey);  		$allowed_ba_questions_id_array = [];  		if ($brand_awareness_survey) { 			$allowed_ba_questions_id_array = $this->getAllowedBaQuestionIds($brand_awareness_survey); 		}  		$answer_collection = $request->collect('answer_values');  		$ppi_answers = $answer_collection->filter(function (mixed $value, string $key) use ($allowed_ppi_questions_id_array) { 			return in_array($key, $allowed_ppi_questions_id_array); 		});  		$ba_answers = $answer_collection->filter(function (mixed $value, string $key) use ($allowed_ba_questions_id_array) { 			return in_array($key, $allowed_ba_questions_id_array); 		});  		return collect(['ppi_answers' => $ppi_answers, 'ba_answers' => $ba_answers]); 	}