Added 'oncascade' to delete all related attention points when removing a plan
merged
mentioned in commit 58e0cbc6