Fixed nested call to strtok.