TAJO-1048: Missed use of session variables in GlobalPlanner.

Closes #146