This bug is created as a clone of upstream ticket:
If an entry is transformed from a tombstone entry to a glue entry, the objectclass attribute is modified, but the index is not updated. This affects also other indexed attributes,
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.