Fixed query test.