Fixed removing and adding items to inventories