Minor optimization

No mismatching @index will ever be used in compaction