fixed query in with array parameter