More work on merging indexes.