Avoided unneeded calls to state.render() in migrations.