The issue was a missing Dependency Graph update tag. That usually happened in `ANIM_list_elem_update/59` but only if the action is still linked to the `AnimData`. That isn't the case when all keys get deleted because the action is unlinked in `animdata_fcurve_delete` if the action is empty. Pull Request: https://projects.blender.org/blender/blender/pulls/123553