Only one term can be edited at a time when this error occurs. Edit one term within the membership program, click save, and then edit the other term.