Fixed query as string -> array