Keep folder browsing history tidy by only keeping the latest entry for
each value...