added a safeguard to ensure that archive data isn't lost when enabling of disabling the package without using the edited DataObj::EPM