Fix bug when insertion end was duplicated
Fix bug when insertion end was duplicated

glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal