Fix issue with children conditions in JSON structure.