Fixes #4492: generate policies only one time when accepting multiple nodes
Merge pull request #467 from fanf/bug_4492/deploy_only_one_time_when_accepting_nodes

Fixes #4492: generate policies only one time when accepting multiple nodes