Bug Update

Fixed a bug occuring when no students in unit