Update planner.py

Fixed my task bug... sorry!!