Fixed a crash that would occur when removing certain organelles.