fix deployment activation to use reference designator
Merge pull request #1591 from MauriceManning/1515deploy_rebase

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