attempted fix for iterator_range relational operators bug

Merge c2a7ac4 to master