Fixed a bug when having array-like parameters in the query string.