Querying referenced table with TanStack query returns different results on reload - Supabase