Made patchAdd fail if the record already exists