Fixed unique validations to exclude the current object