Fixed an error in the tex that was introduced in refactoring a variable.