Fix bug introduced in 3737d0f

Accidentally used old variable name