The combination of higher oil prices and bond market volatility nearly snapped the S&P 500's winning streak.