fix for when nodes are used in multiple publications