Fix two iterator invalidation bugs.
Fix two iterator invalidation bugs.

xedin/swift,CodaFi/swift,modocache/swift,swiftix/swift,airspeedswift/swift,JGiola/swift,jckarter/swift,slavapestov/swift,therealbnut/swift,brentdax/swift,emilstahl/swift,JGiola/swift,swiftix/swift.old,allevato/swift,hooman/swift,kstaring/swift,gmilos/swift,adrfer/swift,gottesmm/swift,hughbe/swift,shajrawi/swift,aschwaighofer/swift,huonw/swift,LeoShimonaka/swift,sdulal/swift,stephentyrone/swift,tkremenek/swift,SwiftAndroid/swift,milseman/swift,bitjammer/swift,natecook1000/swift,practicalswift/swift,parkera/swift,johnno1962d/swift,tardieu/swift,gribozavr/swift,karwa/swift,jtbandes/swift,JGiola/swift,milseman/swift,ben-ng/swift,ben-ng/swift,zisko/swift,deyton/swift,brentdax/swift,kusl/swift,MukeshKumarS/Swift,sdulal/swift,tkremenek/swift,sschiau/swift,swiftix/swift.old,cbrentharris/swift,IngmarStein/swift,KrishMunot/swift,karwa/swift,LeoShimonaka/swift,practicalswift/swift,hughbe/swift,sschiau/swift,allevato/swift,practicalswift/swift,brentdax/swift,ahoppen/swift,apple/swift,kusl/swift,bitjammer/swift,gottesmm/swift,allevato/swift,ben-ng/swift,devincoughlin/swift,cbrentharris/swift,sschiau/swift,parkera/swift,harlanhaskins/swift,khizkhiz/swift,uasys/swift,felix91gr/swift,allevato/swift,slavapestov/swift,jtbandes/swift,return/swift,roambotics/swift,amraboelela/swift,dduan/swift,bitjammer/swift,CodaFi/swift,roambotics/swift,KrishMunot/swift,gottesmm/swift,lorentey/swift,djwbrown/swift,return/swift,huonw/swift,emilstahl/swift,kperryua/swift,tardieu/swift,kperryua/swift,shajrawi/swift,swiftix/swift,tkremenek/swift,jmgc/swift,frootloops/swift,aschwaighofer/swift,kstaring/swift,aschwaighofer/swift,OscarSwanros/swift,djwbrown/swift,shajrawi/swift,rudkx/swift,danielmartin/swift,LeoShimonaka/swift,hooman/swift,danielmartin/swift,tkremenek/swift,JaSpa/swift,benlangmuir/swift,mightydeveloper/swift,mightydeveloper/swift,benlangmuir/swift,tkremenek/swift,aschwaighofer/swift,xwu/swift,russbishop/swift,emilstahl/swift,nathawes/swift,arvedviehweger/swift,jopamer/swift,kusl/swift,tinysun212/swift-windows,cbrentharris/swift,rudkx/swift,emilstahl/swift,swiftix/swift.old,milseman/swift,jckarter/swift,jtbandes/swift,jopamer/swift,jopamer/swift,calebd/swift,alblue/swift,swiftix/swift,deyton/swift,roambotics/swift,JGiola/swift,sschiau/swift,benlangmuir/swift,adrfer/swift,lorentey/swift,benlangmuir/swift,gregomni/swift,OscarSwanros/swift,kstaring/swift,gottesmm/swift,kentya6/swift,calebd/swift,swiftix/swift.old,xwu/swift,manavgabhawala/swift,deyton/swift,return/swift,sdulal/swift,harlanhaskins/swift,JaSpa/swift,calebd/swift,JaSpa/swift,gribozavr/swift,adrfer/swift,mightydeveloper/swift,frootloops/swift,emilstahl/swift,khizkhiz/swift,russbishop/swift,ken0nek/swift,apple/swift,kperryua/swift,nathawes/swift,alblue/swift,frootloops/swift,atrick/swift,felix91gr/swift,lorentey/swift,hooman/swift,johnno1962d/swift,austinzheng/swift,zisko/swift,kperryua/swift,shajrawi/swift,shahmishal/swift,OscarSwanros/swift,danielmartin/swift,frootloops/swift,atrick/swift,cbrentharris/swift,benlangmuir/swift,brentdax/swift,dreamsxin/swift,shahmishal/swift,JaSpa/swift,codestergit/swift,devincoughlin/swift,milseman/swift,jckarter/swift,calebd/swift,aschwaighofer/swift,jckarter/swift,tinysun212/swift-windows,manavgabhawala/swift,ben-ng/swift,uasys/swift,nathawes/swift,kentya6/swift,alblue/swift,arvedviehweger/swift,karwa/swift,atrick/swift,airspeedswift/swift,MukeshKumarS/Swift,IngmarStein/swift,ahoppen/swift,amraboelela/swift,modocache/swift,bitjammer/swift,parkera/swift,gribozavr/swift,shahmishal/swift,khizkhiz/swift,atrick/swift,dduan/swift,roambotics/swift,hooman/swift,codestergit/swift,parkera/swift,practicalswift/swift,danielmartin/swift,stephentyrone/swift,swiftix/swift.old,roambotics/swift,Jnosh/swift,MukeshKumarS/Swift,dduan/swift,kentya6/swift,OscarSwanros/swift,austinzheng/swift,tardieu/swift,austinzheng/swift,OscarSwanros/swift,hooman/swift,arvedviehweger/swift,CodaFi/swift,jmgc/swift,emilstahl/swift,cbrentharris/swift,therealbnut/swift,jtbandes/swift,djwbrown/swift,austinzheng/swift,aschwaighofer/swift,Jnosh/swift,emilstahl/swift,OscarSwanros/swift,xwu/swift,sschiau/swift,deyton/swift,kusl/swift,JaSpa/swift,kperryua/swift,johnno1962d/swift,CodaFi/swift,johnno1962d/swift,tkremenek/swift,IngmarStein/swift,natecook1000/swift,sschiau/swift,lorentey/swift,apple/swift,devincoughlin/swift,nathawes/swift,swiftix/swift.old,tardieu/swift,natecook1000/swift,manavgabhawala/swift,gribozavr/swift,allevato/swift,ahoppen/swift,amraboelela/swift,return/swift,shajrawi/swift,sdulal/swift,jmgc/swift,hughbe/swift,kentya6/swift,jmgc/swift,xwu/swift,khizkhiz/swift,sdulal/swift,modocache/swift,kentya6/swift,karwa/swift,atrick/swift,Jnosh/swift,codestergit/swift,apple/swift,bitjammer/swift,felix91gr/swift,CodaFi/swift,slavapestov/swift,tinysun212/swift-windows,felix91gr/swift,devincoughlin/swift,frootloops/swift,alblue/swift,felix91gr/swift,jmgc/swift,parkera/swift,zisko/swift,practicalswift/swift,manavgabhawala/swift,russbishop/swift,swiftix/swift,brentdax/swift,SwiftAndroid/swift,shahmishal/swift,harlanhaskins/swift,deyton/swift,huonw/swift,glessard/swift,milseman/swift,hughbe/swift,shahmishal/swift,shahmishal/swift,tjw/swift,SwiftAndroid/swift,alblue/swift,danielmartin/swift,stephentyrone/swift,kperryua/swift,gmilos/swift,KrishMunot/swift,milseman/swift,SwiftAndroid/swift,JaSpa/swift,adrfer/swift,practicalswift/swift,kstaring/swift,jopamer/swift,austinzheng/swift,CodaFi/swift,lorentey/swift,apple/swift,swiftix/swift,jckarter/swift,gregomni/swift,codestergit/swift,austinzheng/swift,nathawes/swift,airspeedswift/swift,devincoughlin/swift,return/swift,xedin/swift,gmilos/swift,cbrentharris/swift,rudkx/swift,airspeedswift/swift,airspeedswift/swift,mightydeveloper/swift,gribozavr/swift,xwu/swift,gregomni/swift,amraboelela/swift,stephentyrone/swift,sschiau/swift,IngmarStein/swift,stephentyrone/swift,MukeshKumarS/Swift,khizkhiz/swift,djwbrown/swift,karwa/swift,kentya6/swift,cbrentharris/swift,jtbandes/swift,harlanhaskins/swift,lorentey/swift,gottesmm/swift,SwiftAndroid/swift,MukeshKumarS/Swift,JaSpa/swift,karwa/swift,rudkx/swift,alblue/swift,stephentyrone/swift,tardieu/swift,LeoShimonaka/swift,KrishMunot/swift,jckarter/swift,zisko/swift,IngmarStein/swift,mightydeveloper/swift,russbishop/swift,deyton/swift,jckarter/swift,dduan/swift,LeoShimonaka/swift,uasys/swift,adrfer/swift,karwa/swift,uasys/swift,uasys/swift,Ivacker/swift,ken0nek/swift,Jnosh/swift,rudkx/swift,hughbe/swift,shahmishal/swift,aschwaighofer/swift,codestergit/swift,amraboelela/swift,lorentey/swift,russbishop/swift,parkera/swift,Ivacker/swift,huonw/swift,manavgabhawala/swift,modocache/swift,amraboelela/swift,shajrawi/swift,practicalswift/swift,tjw/swift,gmilos/swift,LeoShimonaka/swift,Ivacker/swift,slavapestov/swift,Ivacker/swift,calebd/swift,khizkhiz/swift,dduan/swift,Jnosh/swift,ken0nek/swift,zisko/swift,kusl/swift,MukeshKumarS/Swift,shajrawi/swift,hooman/swift,return/swift,tardieu/swift,kusl/swift,glessard/swift,Jnosh/swift,OscarSwanros/swift,johnno1962d/swift,harlanhaskins/swift,gribozavr/swift,natecook1000/swift,therealbnut/swift,stephentyrone/swift,sschiau/swift,xedin/swift,KrishMunot/swift,tjw/swift,natecook1000/swift,gregomni/swift,manavgabhawala/swift,nathawes/swift,djwbrown/swift,hughbe/swift,shahmishal/swift,uasys/swift,therealbnut/swift,gottesmm/swift,ken0nek/swift,russbishop/swift,KrishMunot/swift,frootloops/swift,nathawes/swift,IngmarStein/swift,gmilos/swift,danielmartin/swift,bitjammer/swift,jopamer/swift,huonw/swift,SwiftAndroid/swift,sdulal/swift,return/swift,slavapestov/swift,jmgc/swift,benlangmuir/swift,kusl/swift,KrishMunot/swift,cbrentharris/swift,natecook1000/swift,dduan/swift,tinysun212/swift-windows,slavapestov/swift,gottesmm/swift,parkera/swift,milseman/swift,tjw/swift,zisko/swift,mightydeveloper/swift,airspeedswift/swift,gregomni/swift,gribozavr/swift,brentdax/swift,dreamsxin/swift,manavgabhawala/swift,allevato/swift,atrick/swift,ben-ng/swift,tjw/swift,huonw/swift,tinysun212/swift-windows,kentya6/swift,ben-ng/swift,adrfer/swift,Ivacker/swift,parkera/swift,airspeedswift/swift,ken0nek/swift,tjw/swift,hooman/swift,johnno1962d/swift,djwbrown/swift,jtbandes/swift,kusl/swift,Ivacker/swift,ahoppen/swift,mightydeveloper/swift,ken0nek/swift,harlanhaskins/swift,practicalswift/swift,uasys/swift,arvedviehweger/swift,brentdax/swift,Jnosh/swift,arvedviehweger/swift,danielmartin/swift,calebd/swift,zisko/swift,gribozavr/swift,russbishop/swift,felix91gr/swift,swiftix/swift.old,johnno1962d/swift,MukeshKumarS/Swift,swiftix/swift,arvedviehweger/swift,kperryua/swift,gmilos/swift,frootloops/swift,xedin/swift,kentya6/swift,Ivacker/swift,djwbrown/swift,tinysun212/swift-windows,karwa/swift,LeoShimonaka/swift,lorentey/swift,tardieu/swift,rudkx/swift,sdulal/swift,sdulal/swift,devincoughlin/swift,xedin/swift,therealbnut/swift,glessard/swift,alblue/swift,huonw/swift,adrfer/swift,xedin/swift,deyton/swift,xwu/swift,kstaring/swift,SwiftAndroid/swift,tjw/swift,xwu/swift,therealbnut/swift,Ivacker/swift,xedin/swift,austinzheng/swift,harlanhaskins/swift,ahoppen/swift,apple/swift,gmilos/swift,codestergit/swift,roambotics/swift,kstaring/swift,modocache/swift,bitjammer/swift,felix91gr/swift,IngmarStein/swift,glessard/swift,allevato/swift,codestergit/swift,ken0nek/swift,ahoppen/swift,khizkhiz/swift,JGiola/swift,glessard/swift,devincoughlin/swift,slavapestov/swift,jmgc/swift,swiftix/swift,CodaFi/swift,dduan/swift,jtbandes/swift,modocache/swift,shajrawi/swift,modocache/swift,natecook1000/swift,LeoShimonaka/swift,jopamer/swift,glessard/swift,therealbnut/swift,arvedviehweger/swift,jopamer/swift,hughbe/swift,ben-ng/swift,gregomni/swift,amraboelela/swift,tkremenek/swift,xedin/swift,mightydeveloper/swift,swiftix/swift.old,JGiola/swift,kstaring/swift,tinysun212/swift-windows,emilstahl/swift,calebd/swift,devincoughlin/swift