Fixing error in Inventory report