Fix pretty path setting whichs breaks facet functionalities