Fixed a bug with changing the commitment sign.