Fixed error in class selection page.