Fixed bug with PathNodes