Fix foreign key references to subj and endorsees
Fix foreign key references to subj and endorsees

user512/write-in-mvp,user512/write-in-mvp,robertbaker13/write-in-mvp,user512/write-in-mvp,robertbaker13/write-in-mvp,robertbaker13/write-in-mvp