Avoid duplicate insertions