Checking for 'null' with the supabase JS api - Supabase