Fixed query logs.