This may be of more importance to anyone who ran some queries to delete old CiviCase revisions, but can affect anyone who uses the Schedule Followup section at the bottom of the activity form regularly, either on case activities or non-case activities.
Some activities you didn't mean to delete may have been deleted as well. For more information see https://lab.civicrm.org/-/snippets/93