It’s a nightmare scenario for class action plaintiffs lawyers: win a big judgment, then get sued because some clients thought you should have won more.

For Steven Zieff and his partners at San Francisco’s Rudy, Exelrod & Zieff, the nightmare is finally over — but it cost a hefty payout to make it go away.