Position Score Backtest Issue

When i use position score with max position option ,other symbol are also bought which are not shown in backtest because of max position option because on a particular day more symbol can come than max open positions given.I want to make my BUY variable 0 to those symbols which are not bought because of max open position option.