Fixed error display handling on Teachers views