MDL-39476 Assign: Cleanup old bad data before adding new index