Fixing variable shadowing warning.

@friedmud might want to check this is the correct fix.

Refs #000.