Fixed database flaw again.