Fix for dereference bug of char arrays (used by test_index_find)