strip empty values from the querystring