Make duplicate and renamed iterators catch errors rather than just failing