Fix query in /t/