Fixed bug which overwrote object length in _concat function