Fix query issue in my assessments