Fixing bug that causes ClassCastException when trying to cast entity metadata to IDPSSODescriptor