Append query string on pagination