Fixes comparing items with a different number of values.