Make sure that batch id always sequences based on last app.config value.