The CBI will not become invalid because capital adjustment is automatically considered. You only must make sure to run the the backtest with the same capital setting as the initial capital setting of the trading session.