fix IndexableElement logic in product api to index only data from public