Creating a list of Revit levels which contains duplicates

I am sending 5 boundary curves as a branched Data Tree into an Add Floor component. This makes 5 floors. I then Inspect Element on the 5 floors and modify their level parameter. I have 3 levels, so 2 pairs of floors share a level. Floor 1 is on Level 1, Floor 2 on Level 2, Floor 3 on Level 2, Floor 4 on Level 3, Floor 5 on Level 3.

The Element Parameter component wants to receive a Revit Level Object – it wont accept a Level Name or Level GUID. The only way I know how to generate a list of multiple Levels as Level objects is using the Level component like this:

However, I cannot find a way to have duplicate entries in this Level component. Just one representation of each Level.

Maybe there is a way through Manage Collection, but I don’t know how.

I was able to hack together the desired list, but even then it seems that the Level objects have been converted to strings?

Anyone encounter this problem? I could write a GhPython script and directly access and process the Revit levels through that? I haven’t delved into Revit API that way yet, so I am hesitant at the moment.

Update: This method works,

But feels very fragile, as the order of items in the grafted tree seems to depend on the order you attach the Level components to the Graft Tree.

In general feels prone to error, and is clumsy.

I would probably use the Query Levels directly into the Add Floor when creating the matching branches needed in this case.

Another option is the Entwine Component

Brilliant, thanks @Japhy