Bug fixed when editing plan and not updating default.