Fix ForEntities.