fixed the condition of record existence.

We indentify the record with the combination of server ID and
each "id" value.