Fixed logic for product price comparison