Fixed token resolver query, it referenced a non-existing column