Handle empty strings