Fix bug 1023138 - show custom scopes in UI