Fix content index notice.

Don't show notice when there is no content.