Fixed bug causing inventory changes to only take effect when the vendor is updated.