Fix crash when rematerializing a managed dictionary after it was deleted.