Fixed the text box bug which was occurring when the students viewed all courses.