Fixes a bug when the token has no roles.wq