Detected and fixed minor bug in add deployment view.