Force and release inside for loop with hierarchical paths

In reply to Karmapanchal:

If I remove the for loop and force/release individual instance. It works.

Can you please help me out here?

Thanks,
Karma