fix 500 on cases with children that have no opened_on
Merge pull request #221 from dimagi/fix-child-no-opened_on

fix 500 on cases with children that have no opened_on