Fix use of resumptionToken