[PATCH 1/3] location-importer.in: avoid violating NOT NULL constraints during JOIN