Fix incorrect comparison.