InstallerModelDatabase::fix

Fixes database problems