Calling getConsultantsForThesis causes NullPointerException when there are no consultants -fixed.