Is it discrimination though?
Did they know when they were sorting the grades what was the postcode/school? If so, would they necessarily have been aware of the meaning of that postcode? Some yes-inner city Glasgow I'd imagine is pretty poor, but other than that, would the average person really be able to look at it (assuming they were told the school, which I would tend to suspect they wouldn't be) and know?
It's possible that teachers in those areas were more inclined to overestimate. I don't know, but before saying how disgraceful it is, that is something that needs to be looked at.
The other thing to look at would be have those areas got lower grades than they have historically. If that is the case, then it does need to be looked at.
One local school here, which is a very middle class area had a similar thing happen over A/S levels a few years ago. Forms that had been predicted A/B levels got D/E. It was devastating for my friend's dc whose ds was expecting to be applying for university with a row of As and to be applying with CDE.
I know the school I went to in the 6th form would have rubbed their hands together, and said, firmly with their fingers crossed behind their back, that this particular consort was exceptional and was looking at As across the board. They'd have then made a huge scene on how mean and horrible the system was.
The Scottish appeals has also said that if an individual has got a lower grade and can provide proof that they were working at a higher level, then they will raise the grade. So if that's the case, I would expect to see a lot of shifting upwards.