Fix renamed variable in conditional.