Fixes getting local roles.