Refs #9854 Use reverse iterator
Merge remote-tracking branch 'origin/bugfix/9854_history_gui_unrolling'