Fix string slice decoding.