Better variant type detection for region queries.