cleaning extendmetadata tbl from duplicates