Bug fixed : object won't be saved as new object when unique attribute value is nil