Fixed problem with role editing