Inventory widget: Quantities are not deducting but adding