Fix incorrect string comparison