Fix predmetDetailPage.

Case when there is no students or teachers.