Tisn't that I think that horses have to look great on their day of purchase. My lovely ex racer looked like as my farrier said ' an anorexic fresian cow' when he came to me, but over time, same farrier said he was aptly named. He was called Red Swan and farrier said he went from an ugly duckling to a swan - which was kind!
Just over here there are a type of horse that are sold by gypsies that are either trotting horses or whatever. I wouldn't say badly treated, but probably not treated as I would treat a horse - oh, could that be why I have had problems with mine as I am far too soft!
I would just kind of be wary, that a horse that isn't on the highest plain of nutrition and perhaps has worms would retain the same kind of dispostion when on better grass and with no worms - but I know there are an awful lot of horses that would be fab, no matter what their condition is now.