Adding migration support for term reference fields