Fix an error with unconfirmed tx's