compare frozensets as tuples