Fix for DB issues on new installs relating to database version checks.