Fix dgu_search_form.tpl.php by adding if not empty to undefined value and foreach statement