Fix casing possibilities for convert.py