Modify function theme_dgu_search_select add if not empty to  select as it was throwing an error on a fresh install with solr running correctly.