there was some corruption in unions.
There's corruption almost everywhere. The unions only survive because there's corruption in the companies, so the union corruption is usually a lesser evil.
For what good the market is, as long as unions aren't illegal, they should always balance out the corporate greed.