Fix query issue in add assessments student search.