Fixes bug in query string parsing

All identifiers weren't changed in
428e70d0e3bc65f2490850ac5abe8fb2d451ce49