Teams over individuals. Stop evaluating individuals in a vacuum, and evaluate them in team dynamics.
Sometimes the incompetent nice person multiplies the productivity of a team through morale, creativity and by offloading simpler tasks from more competent people.
The same goes for the competent jerk, who can be a 10x in output but also 1/100 overall by creating a completely toxic environment.