CLC-1644 Use Angular forEach, better naming of selected_semester var