ccda6ec354
Fix a logical bug that prevented setting the amount to 0 upon removing the last item from the list/form.