Fix fromArray, fixes issue #209