Fixed type issue, which could cause a KVPath to end up in code expecting a Path