Testing if Data Tree Values of larger data set are contained within a filtered list of same set

Hello.

I have a map data set and have filtered certain polylines from it. I then query the data and find the corresponding indices for specific values that are then tested for containment within the filtered polylines.

This works fine when I query one value at a time for inclusion; however, I have 90+ values and do not wish to manually do this. I am using ‘member index’ which gives me the correct indices on the larger data set as well as the filtered one.

However when I combine the two, I get nulls.

If anyone can help that would be great!

dataSet_Matching.gh (4.0 MB)