Fixes #489 - CREATE UNIQUE does not work as expected inside FOREACH
Merge pull request #555 from systay/489

Fixes #489 - CREATE UNIQUE does not work as expected inside FOREACH