Fix lazy loaded sync in the presence of rejected state events