More work on bug #8305.  Now sqlite has indexes.