Fix CID 1128968 Iterator modified during loop