[ENSCORESW-2168]. Cleaner implementation, less comparisons.
[ENSCORESW-2168]. Cleaner implementation, less comparisons.

muffato/ensembl,james-monkeyshines/ensembl,james-monkeyshines/ensembl,james-monkeyshines/ensembl,Ensembl/ensembl,Ensembl/ensembl,Ensembl/ensembl,muffato/ensembl,james-monkeyshines/ensembl,Ensembl/ensembl,muffato/ensembl,muffato/ensembl