Fixed array capacity bug.