Allows any update action to happen, as long as the dependencies are met
Allows MERGE to be used inside FOREACH loops
Merge pull request #1236 from systay/foreach-merge

Allows MERGE to run inside FOREACH