Fixed bugs related to string functions in util being run against null values