QueryException Token values len

I assume these two have to be swapped, otherwise it doesn't make much sense.