Bug fix

I had changed a the name of a variable without changing all the uses of
it. The variable is now consistent.