Added a check to inventory:AddInstance to prevent erroring.