#80. Fix for DB errors on activation.