Using removeObject would produce a "mutating while enumerating in some circumstances" — setting to NSNull produces the same effect without the crash :)