Fixed snd.

snd seemed to be just copy-pasted from fst.