[FIX] Bug in disposeInstanceOf not using correct key to remove object from container