We are getting an error when entity does not exists anymore on the media usage page.
Active
9.1
Code
Here is a patch fixing the issue.