Corrected error in SetAttributesInternal that prevented the device path from being correctly updated when the attributes were changed