Fix incorrect condition in new commands.
Merge pull request #709 from DraculeMihawk/patch-7

Fix incorrect condition in new commands.