Add support to index only published content.