Minor Inventory bug fix