Bug fix for retrieving read records.