Fixes the new deployment link, fixes deployments listing condition