Minor bug fixes for prof_form in mycourses