Only alter main query