Deleting the last key on an F-Curve also deletes that F-Curve, and if that happened to be the last F-Curve of the Action, the entire Action is deleted (only for legacy Actions). Tagging the depsgraph is now only done when the Action itself survives. Pull Request: https://projects.blender.org/blender/blender/pulls/128067