Fix teacher display bio problem

A much more complicated sql, but necessary as teacher role does not
really exist.