only store results from children if store_result is set to true
Merge pull request #6 from ablyler/master

only store results from children if store_result is set to true