Fix null pointer exceptioin on SegmentInnerIterator. Fixes #14
Merge pull request #16 from myagley/iter-null

Fix null pointer exceptioin on SegmentInnerIterator. Fixes #14