[tor-commits] [stem/master] Account for attribute types in hash and equality