WL-3594 Don’t include events for deleted entities.

For deleted entities the only event we want to include is it’s deletion so we skip all others.
Merge pull request #3 from ox-it/WL-3594

WL-3594 Don’t include events for deleted entities.