Fixed segfault if splitting empty string.