Little fix with Inventory auto-refresh