Fix history and classes page on homework student view
Homework block only shows active classes