Remove unused helper
Exclude unpublished records from tree_view indexing