exclude the current records from the items to be checked for uniqueness