Fix multiqueries execution