So, theyve put Packers under the frame to lift it off the concrete and level it. They should've used U brackets or "shoes" not sure what you guys call it there. I'm okay with packers, they didn't have a lot of space to work with as you can see the deck is very low. The rafters of the pergola are fine, maybe they don't look it in the photo.
To take out that last joist, I need to remove 3 bolts and drill new holes, that's a bit of work and I don't have a lot of experience in doing something like this.
See attached photo, this is what I have in mind to fix this issue. Decking screws won't line up at the end, they might be on an angle but I'll try my best to screw them all in one line.