Fix equals to be pairwise on the whole value list