Set(filter) with tags not working

Question:
I have been filtering a dataset with set(filter) .eq to tags. It used to work but now it doesn’t.

Product:
Wix Studio Editor

What are you trying to achieve:
I noticed this when I was trying to update the filtering logic to add “region” in addition to tags:

What have you already tried:
Here is the original filter logic that used to work:

const filterUiUxTags = await $w(“#dataset19”).setFilter( wixData.filter().hasAll(“uiuxTags1”, [item.uiuxWholistAnalyst, item.uiuxVisualVerbal, item.uiuxAntFlea, item.uiuxFDFI]));

Here is the updated filter logic (note that it connects to an updated dataset, which replaces dataset19:

const filterUIUX = await $w(“#dataset35”).setFilter(
wixData.filter()
.eq(“uiuxTags1”, [
item.uiuxWholistAnalyst,
item.uiuxVisualVerbal,
item.uiuxAntFlea,
item.uiuxFDFI
])
.and(wixData.filter().eq(“region”, selectedRegion))
);

	// Log if the filter was applied
	console.log("Filter applied to dataset35:", filterUIUX);

Additional information:

These are all text fields in a separate dataset:

item.uiuxWholistAnalyst,
item.uiuxVisualVerbal,
item.uiuxAntFlea,
item.uiuxFDFI

I have tried .hasAll and .hasSome.
.hasSome filters inconsistently, but not correctly.

I have checked to dataset and made sure the order or the tags is the same.

Any help would be appreciated.

Resolve – type in database. Ugh.