Don't accept that a higher weight was found if the higher weighted node is a master; fix for demotion processing
Expand master.js example