Not displaying document and note titles when there aren't any documents or notes