Cannot save a duplicate of a pawn because "Graph is linked to external private object"

Recently I deleted one collapsed graph from my Pawn blueprint.

Now any duplicate of the pawn cannot be saved. It gives an error “Graph is linked to external private object K2Node_Tunnel” and after that a file path ending with the name of the deleted graph.

The original pawn blueprint has no issues, it’s only the duplicate that gives this error. Also if I manually create a duplicate in windows file manager, that one does save normally unless I rename the blueprint or move it to a different folder inside UE.