Remove the list cast
Iterate over a copy.