Use regular for loop for nested SharedResources
Merge pull request #3217 from emarcotte/develop

Use indexed for loop for nested shared resources