Fixed foreach on null value
Merge pull request #72 from jmsche/master

Fixed foreach on null value