Fixed query parser