Hi,
A question.
Why do you need the advanced filter? You can directly filter in the search? If you are doing this specifically for uppercase, I would suggest to save uppercase/lowercase name in a seperate field and just compare.
The rest looks good. The setup if not the problem, quite difficult to find out what the issue is. Try having a look at the rg source in debug mode. It might give you more insight.