Always take query before cursor when between 2 queries.