Custom node Bug

Hello, this is my first post in this community =)

Context:

Im trying to create walls/floors etc based on rhyno curves. For that I assign layers and object names as info to assign which floor the wall will be based on.

Problem:

When I create a custom node to translate the geometry of rhyno cuves and the info of the object, weird things happen. Wrong objects are used in incorrect places.

Example:

The 5 pentagon has the 6 PAV name. Outside the node when I write 6 PAV the pentagon works perfect. When I run the same definition inside the custom node and write 2 or 5 PAV the pentagon appears and the correct object dont.

 

DEMO 02 Post 01 Walls.by.objectname