Fixes slow addprocs introduced by commit 17b3986
Merge pull request #3662 from amitmurthy/amitm/clusterfix

Fixes slow addprocs introduced by commit 17b3986