Fix toIterator Exception Handling
Merge pull request #1521 from benjchristensen/issue-1450

Fix toIterator Exception Handling