Fix double encoding of search queries in pagination meta (bug 1090239)