bugzid-11062: correctly compute the signature for NameValueCollections