This didn’t work for me as the function was part of an inherited interface.
For me, it was enough to recompile the parent blueprint (for which the interface was assigned) and that solved it.
The first thing to try should probably just be to recompile all relevant blueprints and refresh the node.