Of course there is a solution, impose a penalty if you have too many of the same class.

Take their frikkin "strength in numbers" away.