Added exception handling in creation of OptionalSubjects