Yes, my case was (probably, maybe) barred from injunctive relief because you can't sue to fix problems at a jail or prison if they release you[0]. Some people have been prematurely released just to activate this option.
You can (sometimes) get declaratory judgment though, which at least declares you a winner and you can then pass the baton to the guy behind you who is still behind bars and use that as a stick to hit the institution over the head with.
And sometimes you can also get monetary damages too, which can be another stick to hit them with.
[0] some exceptions apply if the case is likely to repeat itself, but this argument is very, very hard to muster