Corrected bug where S-values shorter than 32 bytes were not correctly re-encoded.