The easy way to create a variable that fits into a node is to right click the input pin and select “Promote to Variable”.
You can also left mouse click the icon next to your existing variable details and select “array” as it is currently a “Single variable”.
This might not be the root of the problem though as what you already have works fine if you just need to trace against one object type.