Fix a few cases in Compilation where we might mutate a collection as we iterate over it
Fix a few cases in Compilation where we might mutate a collection as we iterate over it

MikePopoloski/slang,MikePopoloski/slang