Fixed a new bug on the Deployment Edit page.