Fixed a SAML metadata parsing bug.