Fix minor typos in the PathPrefix class