List.Contains auto flattening list of lists?

I’m sure I’m missing something obvious here, but have been bashing my head against the wall for too long to see clearly!

I’ve got a list of lists (of lists), and I’m just trying to filter down to if a list contains a certain value, -1 in this case.

However, when I use the List.Contains node as shown, it seems to auto-flatten the list? This is not what I’m after, as I’ll need to maintain the high level list.

The result I’m after is for the List.Contains output to be what it is, but still split into the 2 level 3 lists as the input.
List 0: sublists 0-6
List 1: sublists 7-11
Sorry for the poor explanation.

Did you try this?
image

Well don’t I feel like an idiot!
Thank you

1 Like