Fixed homework module bug that does not display homeworks if a student is logged in