Only save the valid entities in the group entity_ids attribute