Hmm... you're right.
Then let's separate it! 2 people per cell, horny gay man with horny straight woman, horny straight man with another horny straight man, horny lesbian woman with horny straight man, and horny bisexual man/woman is alone in one jail cell. Then no one will be happy in horny jail.
And if all else fails, we put cameras in the cells and all the rooms, film them doing it, then we sell the porn on onlyfans and use it for government transactions. We can use it to fund hospitals and events and other things the government needs to pay for.