Fix incorrect condition in new commands.