Overriding script path

If I want to override the script component in a game object, there’s a possibility to do so under Properties. Initially a.go had a.script connected to it.
Screenshot 2024-03-01 115130

But after overriding Path to use b.script, a.script is still the one that gets executed. Am I missing something here?

Another similar thing. After renaming the collection file, it’s name remains the same.