Adding handling to output indexterms with both @sortas and @startofrange...

... in a db passthrough. Not supported in asciidoc.