Fix mistake in conditional expression