Fixes versionable database objects