Dispatch to get rid of <empty>'s in list?

I was working on a list with numbers + also a couple of “< empty >”'s on the list.
When inputting to amplitute to change a vector I get an error “Data conversion failed from Text to Number”
I searched on the forum and found a couple of solutions (what did not solve my problem).

Then suddenly I misconnected the inputs of a dispacth and the problem was gone??
Bug? Feature? Misuse? Hope some on you can shine their light on this.
Regards, Eef


dispatch to get rid of 's in list?.gh|attachment (12.1 KB)

I believe the < empty > is being interpreted as “False” - so it’s removing itself in the Dispatch

You can normally clear them up with Clean Tree but for some reason it didn’t like that in this case and I had to turn them into nulls first

Thanks you @Artstep: Clean Tree gives the same error.
I will keep this in my list of (how to fix things).
regards, Eef

This image of GH code makes no sense to me :question: Especially for the ‘P’ input of Dispatch.

the .gh file is attached.
what I think, but not 100% sure, is that the P-input, also has integrated function Bool.
For practical use placing the Bool is probably better to avoid errors.