fix index on archived documents