Reverted getEntityManager() for LifecycleEventArgs in index