getNextParam is for the wrong query - TanStack