Fixed an index error in params-old-to-new.py