Moving Macro from one library to another

I have some macros in my project that were created a long time ago, and some that were added to the engine’s Standard Macros library. Some of these libraries should be consolidated, and since the project is being used on multiple computers, the macros added to the Standard Macros library need to be removed.

I’ve tried moving these macros and then readding the newly moved macros to the blueprints that reference them, but whenever I do this I get an error stating “Can’t save due to ‘Graph is linked to private external object’” when I try to save.

I’ve tried refreshing the nodes, but it doesn’t help. Is there a way to move macros from one library to another without this issue?