Fixing conditional deploy.