Fixes the database version feature