Merging postreleasefix/81 to master
Merging postreleasefix/81 to master

* postreleasefix/81:
  db can be undef at times

Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode