Fixed bug in planner.