Fix for query string

Signed-off-by: Eduardo Silva <eduardo@monkey.io>