Fix bug in kinetics comments where original template was not saved correctly.
Fix bug in kinetics comments where original template was not saved correctly.

Since the while loop is recursive, one must store the original template
outside the while loop.

pierrelb/RMG-Py,nyee/RMG-Py,pierrelb/RMG-Py,nyee/RMG-Py,enochd/RMG-Py,comocheng/RMG-Py,chatelak/RMG-Py,comocheng/RMG-Py,chatelak/RMG-Py,nickvandewiele/RMG-Py,enochd/RMG-Py,nickvandewiele/RMG-Py