Check local DB version before continuing transaction