  Adding new logic to properly update event tree when keep_all_events is True.
  Adding new logic to properly update event tree when keep_all_events is True.

nrejack/redi,nrejack/redi,nrejack/redi,nrejack/redi,nrejack/redi,nrejack/redi,nrejack/redi