Fix reverse iterator
Merge branch 'reverse-iteration-fix'