I remember with my mom's old 1982 Kenmore canister, she didn't hold on to the plug when rewinding the cord and it broke the wires inside the molded on plug after several years due to the impact. One day it started sparking when she plugged it in, so my dad put a new plug on that looked similar to that one but white and no cord clip.
The vacuums she had after that she took better care to hold the plug so it didn't whip and snap when it rewound, and she didn't have to replace any more plugs on her vacuums since then upright or canister though they've all had a cord reel. I guess having a foot pedal rewind helps too since you can stop it just before the end rewinds and then hold the plug. The models in 1982 didn't have a pedal.
But good job on the rewire.