Fix predmetDetailPage.

Case when there is no students or teachers.
Ked je semester neprazdny, sprav jednoprvkove pole.