The order should not really make a difference, when a validation fails it can be cached like this until you pass the validation. So what you are seeing might be a remnant of a bad registration attempt. To check on this try inserting a new record that will not trigger the duplicate entry check. It should pass without showing you the validation error. Let us know if you have any further trouble with this.