Removed needless code in  the case where a role has no child roles.