Added missing check for re-deploys.