Fixed a possible error in finding the product price