Fix logic mistake in cond example