Fix double #deindex_by_primary_key

When there was a multi index, deindexing twice would cause an invalid
watch.