Fix minor typos in the PathPrefix class

Just documentation, the commit should have mentioned that. Sorry.