New York heads into the matchup against San Francisco in a rut, losers of three straight