Revert "Catch problem with missing data when creating the database."
Revert "Catch problem with missing data when creating the database."

This reverts commit a124a565cb0ce67c7a73099246631754fbf210fe.

BillMills/AutoQC,BillMills/AutoQC,s-good/AutoQC,castelao/AutoQC,IQuOD/AutoQC,IQuOD/AutoQC,s-good/AutoQC