If a role's items is null or empty, don't add that role.