Fix instructor search crash