Add debug to investigate duplicate problem in the table.