Buying A Car That Has The Lemon Label

I have been speaking to a dealership about a few cars on their lot. I inquired about one in particular and asked about the car fax, being able to obtain a prepurchase inspection, etc. They have agreed with my all my request. Even informed me the car was originally a buyback due to an issue that had yet to be addressed through a manufacture recall, but the recall finally came about and the issue is resolved. Is it ever worth the risk of buying a car that has the Lemon Stamp, if the issue is stated to be fixed and I can get a prepurchase inspection completed? Also its fairly priced but not so much when I think about the lemon tag. With that on the history how much should a car be discounted even if the issue that caused the lemon stamp has been resolved?