Judging by the look of those ribs, I would say you have a meat quality issue. IMO with the thickness of those I would think they would be done in 2-3hrs max. Listen to Phubar and try the bend test next time. It's very hard to get an accurate temp measurement on ribs, that's why most use the bend test or toothpick test instead. You may consider skipping the foil all together next time or adjust the method to something like 2 hrs on grate, 1/2 hr in foil and 1/2 hr or till done on grate to firm up. Good luck!
"I can get a good look at a T-bone by sticking my head up a bull's a$$, but I'd rather take a butcher's word for it". - Tommy Callahan III
XL Big Green Egg, 22.5 Weber OTS, WSJ Gold/Mini WSM, 18" & 22" WSM, UDS "No.8"
Flyers Orange Thermapen
Napkin Killers BBQ