Fix string/int comparison