Fix realloc bug when the siblings list is only one item long.