fix deployment activation to use reference designator
Merge pull request #1592 from MauriceManning/1515deploy_rebase2

ooiion:1568 ooiion:1568 Fix deployment activation logic to correctly assign devices to sites