Update planner.py

A couple functions didn't have rdb as parameters when they needed it. Fixed.