Preventing v5 rollback issue where DB version is changed to lower value