Checking if a row with the same element already exists - Supabase