The inventory widget is giving an error when any quantity except 0 is selected.