Bug in csv import fixed by reverting to type comparisons