The S&P BSE Sensex and Nifty50 moved in a tight range but failed to