Add migrations to compile duplicate tags