Fixed reduce-kv and reduced weirdness.

I'm not sure if it is the map sorting or if it is the keyword equality,
or just something in reduce-kv, but this version works and clears down
the lower parts of the URL hierarchy for the page.