Wrap foreach in check for .
Merge pull request #3 from bendiy/xtuple

Wrap foreach in check for .