params.put("endIndex", null);
String url = Session.getInstance().generateUrl(new CreateUrlRequest(params));
// make a version of the query that doesn't have the exclusion list
JSONObject request = currentRequestObj;
if (request.containsKey("exclude"))
{
request = new JSONObject();
for (String key : currentRequestObj.keySet())
{
if (!"exclude".equals(key))