Handle post term relationships while migrating