Correct query parameters validation

As specified in Hapi, `params` is used for path parameters, and `query` for query parameters