How to hide the deleted rec_event on calender on loading

Please any tell me how to hide the event that has deleted from recurring event while loading from xml file or json.

here is the sample xml format one of the event_pid is deleted and the other one is edited the title. how ever when loading this xml by
it gives me the repeat entry of the edited and the actual and actual and deleted event.

NB: I am not using any connector.