This branch could have used the foreach_reverse construct too. It's better to change both, or neither, than to have mixmatching implementations.