Fixing bug where shipped inventory gets set to sold state