Fixed bad merge in BatchPlanner.