Query String: on get_id, validate index >= 0

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