Trap error on filter

I have the following code as part of a bigger grid. When I filter against this, it throws an error saying it cannot filter because "Unhandled exception in circuit 'GCJHr8L32KQqt04vlMLW6kuzuOS4nfbyOGl7vUuZDrE'.
Neither of the types 'String' and 'DistributionDefinition' converts to the other (at index 1)"

How can I get the filter to work against whatever is in the data cell?

                        <RadzenGridColumn TItem="Models.Promotion" Property="DistributionDefinition" Title="Distribution" Width="200px">
                            <Template Context="data">
                                @if (data.DistributionDefinition != null)
                                {
                                    @if (data.DistributionDefinition.Filters.Count == 0)
                                    {
                                        <span style="white-space:pre-wrap">All Stores</span>
                                        <br />
                                    }
                                    else
                                    {
                                        @foreach (var filter in data.DistributionDefinition.Filters)
                                        {
                                            string type = filter.DistributionTypeOriginalText;
                                            <span>@filter.InclusionTypeText (@filter.Values.Count) @type : @filter.ValuesText</span><br />
                                        }
                                    }
                                }
                                else if (data.DistributionDefinition == null)
                                {
                                    <div>None</div>
                                    <br />
                                }
                            </Template>
                        </RadzenGridColumn>

The Radzen DataGrid can only filter primitive types. The DistributionDefinition does not look as a primitive type though.