Fixed bug where iterators returning unicode silently fail