Adjusted query