The Nasdaq Composite lagged behind as the Dow Jones Industrial Average and S&P 500 posted gains Wednesday after the 10-year treasury yield remained above 1.5%.