Changed exceprion to RecordNotFound.