Fix bug on campany search with no unit