Working on setQueryString which is turning out to be more complex than I thought.