Fix bug in SignatureValue encoding.