Cable tray reducer is empty when filtered by category name

Hello guys,
I’m trying to filter a cable tray system to change the family type of each element to a Clearance family type.
First I select all the connected element, then group them, copy it to new location and then ungroup it.
The problem I’m facing is when I ungroup it, the reducer shows as empty in the list. The script works as expected when there is no reducer in the CT run.



Even the ID of the Reducer in Revit doesn’t match with the one in Dynamo.
Do you guys know what would be happening here?
And also, I don’t know why all the fittings show as Clearance instead of Standard. The node that change to Clearance is further down the workflow.
Thanks