Minor bug fixes to summary.corpus, metadoc.