flatten partial result errors properly
Merge pull request #70 from Medium/eford-fix-read-undefined-in-partial-results

flatten partial result errors properly