Fixed integer overflow in shopping list