def condition(self, parent_values: dict[str, Any]) -> Union[bool, int, float, str, "ConditionalDefault"]:
        """Fix the parent value and return a new search parameter."""
        value = super().condition(parent_values)
        if isinstance(value, Categorical):
            return value.get_support()[0]
        if isinstance(value, Conditional):
            return self.conditional_to_conditional_default(value)
        raise ValueError(f"Unknown search parameter type {type(value)}")
Fix the parent value and return a new search parameter.
olive/search/search_parameter.py