Bugfixes

Fixed a bug in counting the number of students per course of studies;
Fixed a bug while adding students manually