Fixed an error that occurred if no dedup records were found during record list creation.