Fix projections in query provider