Query returning incorrect cache data - TanStack