Accessory welding incorrect

I have an accessory with the attachment of RightHipRigAttachment, when (server) using Humanoid:AddAccessory(accessory), the welding goes to the LowerTorso instead of the RightUpperLeg, and looks like this:

Help would be appreciated.