Merge pull request #27 from OBI-1/master

array_list_expand_internal needs length, not index.