Fixed bug from new Student code.  if StudentSG is false.