nilify blank strings if previous value was nil