Fix error giving wrong results for tripcodes with '&'