Comment

The issue is that I am checking that the parameters are in the same order as the object hierarchy and certainly replacing these in order.

It is the first time I have your use case and I need to update the package to allow different orders and replace out of order as well.

I will try to look into this as soon as I find some time this week.