Display link to upper layer in all sane situations.
Fixed path handling for multilevel folder structures.