This fixes a bug that corrupted the balances table because the transactions related to a block weren't being deleted, hence, causing wrong balances.