Fixing some bugs in the applicant class.