Make sure that record is unique