Add market param to query