I believe there is a problem with the check unique key. I had mentioned it on another part of this forum. Here it is as its own thread.
When you create a check unique key for more than one field, when error message is output to the screen, it is duplicated or worse. The more unique fields you check for the more times you will see the error.