docs: protected List<Event> filterEvents(List<Event> toFilter, Long lastIndex) {
  		List<Event> events = toFilter;
  		if (lastIndex != null) {
  			for (int i = 0; i < events.size(); i++) {
  				Event event = events.get(i);
  				Long eventIndex = event.getWaitIndex();
  				if (lastIndex.equals(eventIndex)) {
  					events = events.subList(i + 1, events.size());
  					break;
  				}
  			}
  		}
  		return events;
  	}