Fix path evaluation bug.