Moved the condition to the beginning of the loop to avoid creating empty <ul> lists
Moved the condition to the beginning of the loop to avoid creating empty <ul> lists

Ensembl/ensembl-production,Ensembl/ensembl-production,Ensembl/ensembl-production