Contains is only doing exact matches on a list

I have a data structure that is

Requirement
___list of acceptance criteria
______acceptance criteria : text

Im making filters for the requirements based on a contains search of the acceptance criteria’s acceptance criteria field.

this requirements acceptance criteria :each items acceptance criteria contains index input search acceptance criterias value

In the workflow I have this step

The problem Im having is that the contains is only doing exact matches.

If I search for foo, and the acceptance criteria is foo it works. If the acceptance criteria is foo bar then it doesnt match. If I search for foo bar then the requirement matches.

If one acceptance criteria has bar and the other has foo, and the search is for foo, then the requirement is correctly retained in the list.

Is this a bug? Am I using contains incorrectly? Is there an alternate way to do this?

It is so close…

just closing this out, looks like a bug in bubble.
When I did acceptance critera :first element instead of :each elements acceptance criteria the matching worked properly, but obviously only on the first element

I ended up doing requirements acceptance criteria :format as text

Then merging all the acceptance criterias acceptance criteria’s into a single text block and doing contains on that block.

Enable parentheses in the Versions tab in settings and it might become clear what is going on here

I tried it and it doesnt really clarify. It just shows the parentheses are at the beginning and end.