Reverse the query order to ensure that some missing variables appear.