Made traverse-upwards selector pickier so it no longer gets stuff like ../x; this fixes #4.