DB version check was wrong