Correct handling of DocumentEvents being removed