fix 500 on cases with children that have no opened_on