less indexing in raw database
#218 when a section has headings, preserve any preamble to the first heading