Filter on very wide repeater is only working for some columns

I have a very long repeater (around 50 columns). I am adding a search bar which should filter to display the rows that match the entered search value in any column.
I am adding a custom filter to the repeater which begins with

and continues for each column in the repeater.
What I’m finding is that the filter works as intended if the search text matches only a few specific columns. Am I doing something wrong or is there a bug that is revealed when adding a filter to a very wide repeater?