Fix for nil string conversion