Making revisions work with results object and nextToken