Another fix for SetRole.