Issue #2282931 by sylus: Fixed Incorrect roles are sometimes saved by UUID services via deploy.