Fixed empty record number error in get