Fix bug in EdgeDescriptor setting.