Fixed vending machine error regarding stocks.