Handle IsPublished for entities.