fix for null iteration
Merge pull request #2 from kcorkan/master

fix for null iteration