Deleted custom event restricts to use the same name for variables / functions

I am on the latest version (4.8)

I noticed that the problem can be somewhat solved by adding a new custom event and giving it a different name, then deleting it. (It unlocks the name, but locks the new one, so it’s not a permanent solution.)

I made an another video to show what i am exactly doing:


I get “test is in use by another variable or function!”