Fixes to the online planner