Fixed a misnamed variable introduced in commit 142ec8b283

Refs #8404.