QueryException Token values len

I assume these two have to be swapped, otherwise it doesn't make much sense.
Merge pull request #160 from niklaskorz/patch-1

QueryException Token values len