Fixed dangerous bug in convertv6.py (still present in v5 but not touching to keep the ref.)