Valencia, for sure, but South Van Ness on the other side of Mission st isn't what I'd call nicer. Folsom (one more past South Van Ness) feels downright unsafe!
You might be right about that actually. I was probably thinking of some of my favorite restaurants and cafes there (e.g., Stable Cafe) but the street itself is a bit empty and can feel sketchy at times.