fixed minQtInStock mistake in calculation