Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: twalsh-ebi <9adb5f2308afdc89fb72fed851c38d5eb14329c7@ebi.ac.uk>
Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara