Bug in NaN handling PR

The name of the type is varchar not string, which causes queries to fail. Don't know how we miss this.