Fixes tables in teacherreg class lists