Fix paging bugs in ListRecords and ListIdentifiers