Fix misleading comment
Protect unpublished data in search and home page.

Addresses #7, almost done.