Fixing SQL statement error in case of PersonLink pkey deletion.