Fix broken QueryCompilerTest