Setting the maxResults for Rest to 1000