Fix dgu search form template by adding if not empty to the foreach function, it was throwing an error on a fresh installation with solr running