Diamond coated guns, sword bayonets unaffected

Found out when I got curious about it. Using the CVD machine on a weapon with a sword bayonet coats the gun in diamond, but the sword bayonet is unaffected and does not get increased cutting damage. Removing the bayonet shows that it’s still a normal sword bayonet, but the rifle still has diamond on its name, but no cutting damage.