Fixed issue when there are no products to consume/produce