Fix bug with adding student to subject