Fixed the possiblity of duplicate majors.