Fixed bug in source iterators.