Fix double insertions