Don't allow using an item when its quantity is 0