Fixes a Concurrent Modification Exception.