Fixed pagination link breakage when query has double quotes.