Improved handling of query parameters of different types.