Fix a copy-paste error in conditional
Merge pull request #2211 from asmaloney/copy_paste_conditional

Fix a copy-paste error in conditional