fixing bug with arrays in querystring