Fixed bug in policy function for activate/deactivate deployment
Merge pull request #2100 from mmeisinger/fix1856_deployui

OOIION-1856: Fixed bug in policy function for activate/deactivate deployment