Fix refresh failure when adding items to plan.