Make sure that the GameObject 'villager (26)' is not on a different z depth than 0. Since you have specified that the GameObject will move to the path nodes that have a 0 value for z, it will move to those specific positions and the Action doesn't ignore the z axis just because it is 0.
If you want it to ignore the z value follow the screenshot example and set the pathNode1 variable in the first transform under Path nodes and so on.