Fixed some issues when adding academic degrees