Emptying Trash Deletes Undo History? Why?

Why does emptying the Trash now delete the Undo history? This is new and I hope it’s not intended. It should be a user-selectable option. I am constantly emptying the trash on a project but i definitely DO NOT want to lose my undo history. Somebody please explain the logic behind this. And why is it considered a “feature”. I personally DO NOT want it.