search companies before external_companies