Previously-applied patch needs another small fix

Patch applied in commit 4274c596d7429c299467130d8816ea97aebe25bc needed
another small fix (a variable that is always a boolean was being checked
for equality to a string).