Fix issue with delete_unconfirmed_tx_indexes not being executed