List @Level is not working

Dear All,

I have a problem with List @Level as explained below.

As we have List@Level Difference :purple_square: So, I took @L2 to balance
List Count for different Structure :blue_square: is same {127}
But :green_square: List items got correct results
Other :red_square: List items seem to be wrong.
Why? Can anyone explain to me the reason behind it?

@Mepdot
What version of Dynamo Core and Dynamo Revit are you using?

@Marcel_Rijsmus
Revit 2020.2 and Dynamo 2.3

can you show us something like this?

try to flatten before Element.Getparamter

Are you sure you don’t have duplicate elements that are being written to more than once?