Added index on tx (tx_id)