Deal with duplicate records - generate warnings