fix issues in deployment preload and make all ref designators unique
fix bad ref designator in deployment
Merge pull request #2023 from MauriceManning/1565_rebases

OOIION-1565 Refactor deployment activation logic