fixing uniqueness constraint on update
unique constraints on update should take into account all records
exclude the current records from the items to be checked for uniqueness
Merge pull request #18 from samharnack/master

fixing uniqueness constraint on update