It appears from the article that if you're wrongfully jailed in the US, you're not automatically entitled to compensation for lost income and other expenses caused by the jail time. Surely this must be incorrect?
In some extreme cases people who have been wrongfully convicted of e.g. murder and served many years in jail have received up to about two million USD.
Particularly surprising since the US is such a lawsuit-happy country where it seems you can expect some form of compensation even for borderline ridiculous issues. Coffee too hot? Jackpot! Life severely ruined by being wrongfully convicted? Well, sorry about that.
That is a bad example of a frivolous lawsuit. The coffee in question was served much hotter than industry standard and they had been repeatedly warned that their coffee was dangerously hot. If you spill coffee on yourself, you expect to get burned. You don't expect it to instantly melt your flesh. They were very rightly held responsible for the extra damage that they caused by serving their coffee at a dangerously high temperature.
I believe there is some sort of automatic compensation for being wrongfully convicted in many areas, depending on the court that did the conviction. Being wrongfully jailed before conviction is a different matter.