Classify query is working