Added duplicate record validations