Pathfinding: Fixed error in termination condition
Pathfinding: Fixed error in precondition (null-intermediary-path)