[Truffle] Fix a couple specializations of equal?.