Ah yeah, what @jacob.small said. Didn’t notice that. Your List.Clean returns nulls because you had preserve indices set to true. This adds nulls to where you remove elements so it maintains the list structure.
If it is set to true, an element at position 10 will still be at position 10 if elements 1-9 are removed, because it replaces them with nulls.
If false, an element at position 10 will become position 1 when the previous 1-9 are removed, effectively removing nulls in the process.
You can filter by the selection earlier in the graph by the lack of that parameter with an if statement. But in this case i’d keep it simple and ignore it.
Sorry for the inconvenience, I’m new to Dynamo and I do not know how to do what you said … Could you demonstrate an instruction through an image @jacob.small ?
Unfortunately I cannot do an image/example (too busy - I’m doing this on my phone between meetings). Maybe later this week when I have time. As I noted before, in this case I would just ignore it.
OK, no problem @jacob.small ! In this case it will be ignored as you said. I have tested in other files and have been having this error with other elements, I am afraid that this will hurt the work.