chore: fix edited last events breaking db
Description
Fixes #
still not sure how this broke but here you go
Checklist
-
I read the [Contributor Guide] and followed the process outlined there for submitting PRs. -
I updated/added relevant documentation (doc comments with ///). -
I did not add or update methods, functions or widgets without tests.