Fixed some more inventory-related things