Update convert.py

Allow duplicated tags