Fix comparison operator.

We want to keep the solution with the fewest unmatched
items, not the most unmatched items.