Remove some duplicate ids