Function evaluatExpressions converts array to object

Hi

A time ago I got help with this workflow, now I realise that it is converting an array (instances) to and object by mistake, I have tried everything to solve it but I can’t find a solution. It might have to do with that I do something wrong.

Yes, it was not written to handle arrays.

Here the workflow with the adjusted Function-Node to also support arrays: