enable re-publish when all the versions are deleted