Modified preprocessing to make sure empty strings were unicode