Update variations when the term slug changes Closes #4077