Fix bad array overwriting in get()