When a drag of rows from the Swatches list starts, or is checked after a
command, the rows are compared with the states of the document before the
newest undo steps. When such a state holds other swatch lists than the
current document, the check built a name index of that whole state even
for a single dragged row. A single row is now looked up directly in that
state, and an index is built only when more than one row is checked.
A new test starts a one-row drag after a swatch edit and checks that no
index is built and that the drag holds its row.