Fix matching of datatype on empty string.