fix majors_list problem if reference quarter parameter is passed