Fix query string.

Fatal error because of invalid query string. This commit fixes that.