Fixed an issue where identityroles would not get properly converted to string.

strings.