[#338] refresh next tx_index when there is a reorg