standardise :path in TypeFilter