Steps to Reproduce
Add the ‘Calendar Editor’ position to a scout multiple times with non-overlapping start/end dates.
Modify the calendar permissions for one of the terms and/or delete one of the terms.
Only the leadership term being edited should have its calendar permissions modified.
When you edit (or remove) one of the terms, the calendar permissions are applied to all of the terms.
Real world use case where this is an issue:
Scout is currently a Patrol Leader, and is currently setup to be a Calendar Editor for his own patrol only. The same scout has recently been elected as the Senior Patrol Leader for the upcoming term. He has a future leadership record for SPL entered and a future Calendar Editor leadership record entered, but in this case the calendar permissions are set to the Troop calendar. As a result of this bug, the scout’s current calendar editing rights are switched the Troop calendar. If you edit the current Calendar Editor term to put it back to the patrol calendar, then the future Calendar Editor record is also switched to the patrol calendar.