List.Clean not functioning?

W

orking on a Dynamo script now to read a piece number from a part and determine a color override for creating a spool map. I’ve figured out a “NULL” value will fail a List.FilterByBooleanMask. Simple, I think to myself, I’ll just add a list clean and loop it into another BooleanMask; List.Clean is clearly not filtering my "NULL"s I’ve tried adding the list.clean before the > as well, it still passes the “NULL”

Reworking my filters some, don’t know why this works the way it is laid out, but it does.

listcleanss2

As List.Clean is working with preserve indices set to false for the boolean mask, ensure that you similarly clean the list of elements too, in order to keep the lengths of the two lists equal.