Fixed bug affecting multisig.