Better NULL handling for unquoted values.

Previously would fall into a null handling mode whenever it encounted a
uppercase N; this was an error if there happened to be an unquoted
string starting with N.