Added validation to editing and creating new server profile. Fixed bug with ICs validation.