Use mutable iterators when required
Issue from !84 (merged).
The problem is that we modify the list while changing it in another place. This was actually in one of the guides how you should not use foreach. Using the mutable iterators we fix that case and also state explicitly that we modify the list during the iteration.
Edited by Alexander Lohnau