fixed problem with the ignore for duplicate inserts