Read function fixed to show all records is name not specified