Fixed a small bug in addSubject.