The popular price-to-earnings valuation metric does not always tell the full story