Protein group needs to be checked for equality using doubleEq function, not direct equality.