fix bug with Contract <-> Auction compare