Fixes #6 , also added check of SubjectID being double