Fixed another bug in sdf_load_record.m