Fixing a bug with the transaction signing complete flag