OOIION-1864: Fix deployment activation code
Merge pull request #2099 from mmeisinger/fix1864_actdeploy_r2

OOIION-1864: Fix deployment activation code