Referential integrity: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed.