Added check that record with specified primary key exists

Fixes bug 1213205

Change-Id: I1c8bc0557f8219a52e3e28ef0f78a5a8f26e3042
Fixed affiliation of Edgar and Sumit

Closes bug 1212953

Change-Id: I33f0f37b6460dc494abf2520dc109c9893ace9e6
Merge "Fixed affiliation of Edgar and Sumit"
Restrict company end_date in schema for default data

Change-Id: I806813b8c750c621add23f2c63c685134a2a77b4
Merge "Restrict company end_date in schema for default data"